﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OracleClient;

namespace Userinterface_Ver._1_
{
    class clsConnectDatabase
    {
        public static System.Data.OracleClient.OracleConnection con;
        public static void Connect()
        {
            con = new OracleConnection("Data Source=orcl;Persist Security Info=True;User ID=QLKH;Password=qlkh");
        }

        public static void OpenConnect()
        {
            con.Open();
        }
        public static void CloseConnect()
        {
            con.Close();
        }
    }
}
